package com.ruoyi.project.system.memberduties.mapper;

import java.util.List;
import com.ruoyi.project.system.memberduties.domain.MemberDuties;

/**
 * 申请捆绑企业职务Mapper接口
 * 
 * @author LCL
 * @date 2022-01-04
 */
public interface MemberDutiesMapper 
{
    /**
     * 查询申请捆绑企业职务
     * 
     * @param id 申请捆绑企业职务ID
     * @return 申请捆绑企业职务
     */
    public MemberDuties selectMemberDutiesById(String id);

    /**
     * 查询申请捆绑企业职务列表
     * 
     * @param memberDuties 申请捆绑企业职务
     * @return 申请捆绑企业职务集合
     */
    public List<MemberDuties> selectMemberDutiesList(MemberDuties memberDuties);

    /**
     * 新增申请捆绑企业职务
     * 
     * @param memberDuties 申请捆绑企业职务
     * @return 结果
     */
    public int insertMemberDuties(MemberDuties memberDuties);

    /**
     * 修改申请捆绑企业职务
     * 
     * @param memberDuties 申请捆绑企业职务
     * @return 结果
     */
    public int updateMemberDuties(MemberDuties memberDuties);

    /**
     * 删除申请捆绑企业职务
     * 
     * @param id 申请捆绑企业职务ID
     * @return 结果
     */
    public int deleteMemberDutiesById(String id);

    /**
     * 批量删除申请捆绑企业职务
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMemberDutiesByIds(String[] ids);
}
